<?php if($this->session->userdata('logged_in')) : ?>
<?php
    $websitePath = "http://localhost/booskate/image/upload/products/thumbnail/";
    //var_dump($productInfo);
    $p_pictures = explode(',',$productInfo->p_pictures);
    $p_thumbPicture = $websitePath.$p_pictures[0];
    //echo $p_thumbPicture;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>.: BooMS v1.1 :.</title>
<link type="text/css" rel="stylesheet" href="<?php echo base_url(); ?>/css/reset.css" />
<link type="text/css" rel="stylesheet" href="<?php echo base_url(); ?>/css/960.css" />
<link type="text/css" rel="stylesheet" href="<?php echo base_url(); ?>/css/main.css" />

</head>
<style>
    #tooltipWrap {width:600px;}
    #tooltipWrap h2 {font-size:1.2em;}
    .tooltipImg, .tooltipInfo {float:left;}
    .tooltipImg {width:90px;}
    .tooltipInfo {width:400px;}
    .tooltipInfo li {line-height:20px;}
</style>
<div id="tooltipWrap">
<h2><?php echo $productInfo->p_code."-".$productInfo->p_name; ?></h2>
<div class="tooltipImg"><img src="<?php echo $p_thumbPicture; ?>" width="80" /></div>
<div class="tooltipInfo">
    <ul>
    <li><?php echo $productInfo->pcat_code; ?></li>
    <li><?php echo $productInfo->brandcode; ?></li>
    <li><?php echo $productInfo->material; ?></li>
    <li><?php echo $productInfo->size; ?></li>
    <li><?php echo $productInfo->color; ?></li>
    <li><?php echo $productInfo->p_date; ?></li>
    <li><?php echo $productInfo->price; ?></li>
    </ul>
    
    
</div>
<div class="clear"></div>
</div>
<?php else : redirect('gafs/index/'); ?>

<?php endif; ?>